@import 'variables';
@import 'mixins';

.touch-user-nav {
    position: relative;
    padding-right: 60px;
    background-color: #fff;
    border-bottom: 1px solid @border-color;
    > ul {
        overflow: hidden;
        > li {
            min-width: 20%;
            height: 60px;
            float: @float-left;
            font-size: @font-size-normal;
            text-align: center;
            line-height: 60px;
            color: @text-base-color;
            border-bottom: 1px solid transparent;
            &.active {
                border-color: @theme-bg-color;
                > a {
                    color: @theme-bg-color;
                }
            }
            > a {
                display: block;
            }
        }
    }
    > .select-btn {
        position: absolute;
        right: 25px;
        top: 50%;
        width: 20px;
        height: 12px;
        background-image: url(../images/icon/arrow-icon-bottom.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100%;
        .verticalMiddle();
    }
    
}

.touch-user-filter {
    padding-left: 60px;
    padding-right: 60px;
    background-color: #fff;
    border-bottom: 1px solid @border-color;
    > ul {
        display: flex;
        display: -webkit-flex;
        > li {
            position: relative;
            flex-grow: 1;
            text-align: center;
            color: @text-gray-color;
            > a {
                display: block;
                padding-top: 30px;
                padding-bottom: 30px;
                padding-left: 80px;
                background-position: 30px center;
                background-repeat: no-repeat;
                background-size: 60px auto;
            }
            &:nth-child(1) {
                > a {
                    padding-left: 75px;
                    background-image: url(../images/icon/filter-icon-logo1-1.png);
                    background-position: left center;
                }
                &.active {
                    > a {
                        background-image: url(../images/icon/filter-icon-logo1-2.png);
                    }
                }
            }
            &:nth-child(2) {
                flex-grow: 2;
                > a {
                    background-image: url(../images/icon/filter-icon-logo2-1.png);
                }
                &.active {
                    > a {
                        background-image: url(../images/icon/filter-icon-logo2-2.png);
                    }
                }
                &:before {
                    position: absolute;
                    left: 0;
                    top: 50%;
                    content: '';
                    width: 1px;
                    height: 20px;
                    background-color: @border-color;
                    .verticalMiddle();
                }
                &:after {
                    position: absolute;
                    right: 0;
                    top: 50%;
                    content: '';
                    width: 1px;
                    height: 20px;
                    background-color: @border-color;
                    .verticalMiddle();
                }
            }
            &:nth-child(3){
                text-align: right;
                > a {
                    background-image: url(../images/icon/filter-icon-logo3-1.png);
                }
                &.active {
                    > a {
                        background-image: url(../images/icon/filter-icon-logo3-2.png);
                    }
                }
            }
        }
    }
}

.touch-user-msg {
    padding: 40px 70px;
    > .touch-user-inner {
        padding: 50px 55px;
        background-color: #fff;
        border: 1px solid @border-color;
        border-radius: @border-radius-base;
    }
    & .touch-user-head {
        width: 200px;
        margin: 0 auto;
        text-align: center;
        > img {
            display: block;
            width: 100%;
            height: 200px;
            margin-bottom: 15px;
            border-radius: 100%;
        }
        > span {
            padding-left: 40px;
            font-size: @font-size-big;
            color: @text-base-color;
            background-image: url(../images/icon/sex-icon-male.png);
            background-position: left center;
            background-repeat: no-repeat;
            background-size: 26px auto;
        }
    }
    & .touch-user-data {
        width: 200px;
        margin: 20px auto;
        > div {
            font-size: @font-size-small;
            text-align: center;
            &:nth-child(1) {
                float: @float-left;
            }
            &:nth-child(2) {
                float: @float-right;
            }
            > span {
                display: block;
                &:nth-child(1) {
                    color: @text-black-color;
                }
                &:nth-child(2) {
                    color: @text-base-color;
                }
            }
        }
    }
    & .touch-user-list {
        font-size: @font-size-small;
        color: @text-base-color;
        line-height: 50px;
        > ul {
            > li {
                > span {
                    &:nth-child(1) {
                        display: inline-block;
                        width: 52px;
                        padding-right: 30px;
                        text-align: center;
                        border-right: 1px solid @border-color;
                    }
                    &:nth-child(2) {
                        padding-left: 30px;
                    }
                }
            }
        }
    }
}

.touch-user-edit {
    padding-left: 25px;
    padding-right: 25px;
    > .btn {
        width: 100%;
    }
}